package top.wardyan.wmes.rfid.kqa.dto;

import java.time.LocalDateTime;

/**
 * @author lcf
 * @CreateTime 2022/1/18 16:51
 * @Description
 */
public class DeviceStateDto {
    /** 主键ID **/
    private Integer id;

    /** 组号 **/
    private Integer gid;

    /** 编号 **/
    private Integer did;

    /** 状态： 0-离线 1-在线 **/
    private Integer state;

    /** 状态更新时间 **/
    private LocalDateTime updateTime;

    /** 站点id **/
    private Integer stationID;

	public Integer getId() {
		return id;
	}

	public DeviceStateDto setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getGid() {
		return gid;
	}

	public DeviceStateDto setGid(Integer gid) {
		this.gid = gid;
		return this;
	}

	public Integer getDid() {
		return did;
	}

	public DeviceStateDto setDid(Integer did) {
		this.did = did;
		return this;
	}

	public Integer getState() {
		return state;
	}

	public DeviceStateDto setState(Integer state) {
		this.state = state;
		return this;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public DeviceStateDto setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public Integer getStationID() {
		return stationID;
	}

	public DeviceStateDto setStationID(Integer stationID) {
		this.stationID = stationID;
		return this;
	}
}
